package com.app.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("lm_message_read")
@JsonInclude(JsonInclude.Include.NON_NULL)

public class MessageReadModel {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer personId;//负责人ID
    private Integer messageId;//消息ID
    private Timestamp createTime;
    private Timestamp updateTime;

    @TableField(exist = false)
    private String personName;// 所属人名字字段
    @TableField(exist = false)
    private String TypeText;//型号类型字段
    @TableField(exist = false)
    private String departmentText;//部门类型字段




}
